<?php 
	$page = !empty($_GET['page']) ? $_GET['page'] : '';
	include_once 'inc/head.php';
	$isHome = '';
	if(!isset($page) || $page == '' || $page == 'trang-chu'){
		$isHome = 'home';
	}
?>
<body class="<?=$isHome;?>">
	<?php
	include_once 'inc/header.php';
	if(isset($page)){
		switch ($page) {
			case 'trang-chu':
				include_once 'inc/home.php';
				break;
			case 'gioi-thieu':
				include_once 'inc/news-detail.php';
				break;
			case 'thuc-don':
				include_once 'inc/product-list.php';
				break;
			case 'danh-sach-san-pham':
				include_once 'inc/product-list.php';
				break;
			case 'chi-tiet-san-pham':
				include_once 'inc/product-detail.php';
				break;
			case 'danh-sach-bai-viet':
				include_once 'inc/news-list.php';
				break;
			case 'chi-tiet-bai-viet':
				include_once 'inc/news-detail.php';
				break;
			case 'lien-he':
				include_once 'inc/contact.php';
				break;
			default:
				include_once 'inc/home.php';
				break;
		}
	}
	else {
		include_once 'inc/home.php';
	}
	include_once 'inc/footer.php'; ?>
</body>